package com.chenhan.system.service;

import com.chenhan.system.domain.SysMenu;

import java.util.Collection;
import java.util.List;
import java.util.Set;

public interface PermissionService2 {


    Set<Long> getRoleIds(Long userId, Integer status);

    List<String> getRoleKeys(Collection<Long> roleIds);

    List<String> getRoleKeys(Long userId, Integer status);


    List<SysMenu> getMenus(Collection<Long> roleIds, Collection<String> menuTypes, Integer status);

    List<SysMenu> getMenus(Long userId, Collection<String> menuTypes, Integer status);

    List<String> getPermCode(Collection<Long> roleIds);

    List<String> getPermCode(Long userId);

}
